import request from '@/utils/request'

// 查询物品列表
export function typeData(query) {
  return request({
    url: '/wh/data/type',
    method: 'get',
  })
}

// 查询物品列表
export function putInRankData(query) {
  return request({
    url: '/wh/data/putInRank',
    method: 'get',
  })
}

// 今日入库
export function getPutInRecordByDay(day) {
  return request({
    url: '/wh/record/putInByDay/' + day,
    method: 'get',
  })
}

// 查询物品列表
export function getTakoutRecordByDay(day) {
  return request({
    url: '/wh/record/takeOutByDay/' + day,
    method: 'get',
  })
}